﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Common;
using System.Data.SQLite;

namespace LantixLBSServer.Web.DbAccess.Helper
{
    public class SqliteDB:DbHelper
    {
        public SqliteDB()
        {
        }
        public SqliteDB(String connectionString)
            : base(connectionString)
        {

        }
        protected override void Initialize(string connectionString)
        {
            conn = new SQLiteConnection(connectionString);
            cmd = conn.CreateCommand();
        }

        protected override System.Data.Common.DbDataAdapter GetDataAdapter()
        {
            return new SQLiteDataAdapter();
        }
    }
}